package com.cloud.force.api.entity;

import javax.persistence.*;

@Table(name = "wf_trans_inst")
public class WfTransInst {
    @Id
    @Column(name = "trans_id")
    private Long transId;

    @Column(name = "trans_def_id")
    private Long transDefId;

    @Column(name = "from_act_def_id")
    private Long fromActDefId;

    @Column(name = "from_act_id")
    private Long fromActId;

    @Column(name = "to_act_def_id")
    private Long toActDefId;

    @Column(name = "to_act_id")
    private Long toActId;

    @Column(name = "item_type_id")
    private Long itemTypeId;

    @Column(name = "item_type_name")
    private String itemTypeName;

    @Column(name = "rec_id")
    private Long recId;

    @Column(name = "human_id")
    private Long humanId;

    @Column(name = "human_name")
    private String humanName;

    @Column(name = "role_id")
    private Long roleId;

    @Column(name = "role_name")
    private String roleName;

    @Column(name = "unit_id")
    private Long unitId;

    @Column(name = "unit_name")
    private String unitName;

    /**
     * @return trans_id
     */
    public Long getTransId() {
        return transId;
    }

    /**
     * @param transId
     */
    public void setTransId(Long transId) {
        this.transId = transId;
    }

    /**
     * @return trans_def_id
     */
    public Long getTransDefId() {
        return transDefId;
    }

    /**
     * @param transDefId
     */
    public void setTransDefId(Long transDefId) {
        this.transDefId = transDefId;
    }

    /**
     * @return from_act_def_id
     */
    public Long getFromActDefId() {
        return fromActDefId;
    }

    /**
     * @param fromActDefId
     */
    public void setFromActDefId(Long fromActDefId) {
        this.fromActDefId = fromActDefId;
    }

    /**
     * @return from_act_id
     */
    public Long getFromActId() {
        return fromActId;
    }

    /**
     * @param fromActId
     */
    public void setFromActId(Long fromActId) {
        this.fromActId = fromActId;
    }

    /**
     * @return to_act_def_id
     */
    public Long getToActDefId() {
        return toActDefId;
    }

    /**
     * @param toActDefId
     */
    public void setToActDefId(Long toActDefId) {
        this.toActDefId = toActDefId;
    }

    /**
     * @return to_act_id
     */
    public Long getToActId() {
        return toActId;
    }

    /**
     * @param toActId
     */
    public void setToActId(Long toActId) {
        this.toActId = toActId;
    }

    /**
     * @return item_type_id
     */
    public Long getItemTypeId() {
        return itemTypeId;
    }

    /**
     * @param itemTypeId
     */
    public void setItemTypeId(Long itemTypeId) {
        this.itemTypeId = itemTypeId;
    }

    /**
     * @return item_type_name
     */
    public String getItemTypeName() {
        return itemTypeName;
    }

    /**
     * @param itemTypeName
     */
    public void setItemTypeName(String itemTypeName) {
        this.itemTypeName = itemTypeName;
    }

    /**
     * @return rec_id
     */
    public Long getRecId() {
        return recId;
    }

    /**
     * @param recId
     */
    public void setRecId(Long recId) {
        this.recId = recId;
    }

    /**
     * @return human_id
     */
    public Long getHumanId() {
        return humanId;
    }

    /**
     * @param humanId
     */
    public void setHumanId(Long humanId) {
        this.humanId = humanId;
    }

    /**
     * @return human_name
     */
    public String getHumanName() {
        return humanName;
    }

    /**
     * @param humanName
     */
    public void setHumanName(String humanName) {
        this.humanName = humanName;
    }

    /**
     * @return role_id
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    /**
     * @return role_name
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * @param roleName
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    /**
     * @return unit_id
     */
    public Long getUnitId() {
        return unitId;
    }

    /**
     * @param unitId
     */
    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    /**
     * @return unit_name
     */
    public String getUnitName() {
        return unitName;
    }

    /**
     * @param unitName
     */
    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }
}